



<div class="content">
    
    <!--*****************  RIGHT  *****************-->
    <div class="columnRight">
        <div class="content">
            <div class="contentCenter">
                <div class="content">

<div class="jobfunctions view">
<h2><?php  __('Jobfunction');?></h2>
<table class="showFields">
		<tr><th><?php __('Id'); ?></th>
		<td>
			<?php echo $jobfunction['Jobfunction']['id']; ?>
		</td></tr>
		<tr><th><?php __('Title'); ?></th>
		<td>
			<?php echo $jobfunction['Jobfunction']['title']; ?>
		</td></tr>
		<tr><th><?php __('Description'); ?></th>
		<td>
			<?php echo $jobfunction['Jobfunction']['description']; ?>
		</td></tr>
		<tr><th><?php __('Created'); ?></th>
		<td>
			<?php echo $jobfunction['Jobfunction']['created']; ?>
		</td></tr>
		<tr><th><?php __('Modified'); ?></th>
		<td>
			<?php echo $jobfunction['Jobfunction']['modified']; ?>
		</td></tr>
	</table>
</div> 
                    
                </div>
            </div>
        </div>
    </div>
<!--*****************  LEFT  *****************-->
    <div class="columnLeft">
        <div class="content">
            <!--*****************  MENU  *****************-->
            <div class="contentMenu">

                <div class="contentMenuItems">
                    <ul>
                        <li class="contentMenuTitle">Actions</li>
                        		<li><?php echo $this->Html->link(__('Edit Jobfunction', true), array('action' => 'edit', $jobfunction['Jobfunction']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Jobfunction', true), array('action' => 'delete', $jobfunction['Jobfunction']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $jobfunction['Jobfunction']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Jobfunctions', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Jobfunction', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
                        <li class="contentMenuBottom"></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>

</div>
<div class="clear"></div>

<div class="contentCenter">
    <h2 class="showNextDiv pointer">Related</h2>
    <div class="isHidden">

<div class="related">
	<h3><?php __('Related Users');?></h3>
	<?php if (!empty($jobfunction['User'])):?>
	<table class="formstatus"><thead>
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Surname'); ?></th>
		<th><?php __('Id Code'); ?></th>
		<th><?php __('Id Erp'); ?></th>
		<th><?php __('Id Win'); ?></th>
		<th><?php __('Id Hr'); ?></th>
		<th><?php __('Backup Id'); ?></th>
		<th><?php __('Manager Id'); ?></th>
		<th><?php __('Hrreferent Id'); ?></th>
		<th><?php __('Contract Begin'); ?></th>
		<th><?php __('Contract End'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th><?php __('Jobfunction Id'); ?></th>
		<th><?php __('Jde User'); ?></th>
		<th><?php __('Baali User'); ?></th>
		<th><?php __('Securitygroup Id'); ?></th>
		<th><?php __('Company Id'); ?></th>
		<th><?php __('Group Id'); ?></th>
		<th><?php __('Mail'); ?></th>
		<th><?php __('Username'); ?></th>
		<th><?php __('Password'); ?></th>
		<th><?php __('Notes'); ?></th>
		<th><?php __('Backup Of'); ?></th>
		<th><?php __('Replace'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
        </tr></thead><tbody>
	<?php
		$i = 0;
		foreach ($jobfunction['User'] as $user):
			$class = null;
			if ($i++ % 2 == 0) {
			$class = ' class="pair"';
                        }else{$class = ' class="impair"';}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $user['id'];?></td>
			<td><?php echo $user['name'];?></td>
			<td><?php echo $user['surname'];?></td>
			<td><?php echo $user['id_code'];?></td>
			<td><?php echo $user['id_erp'];?></td>
			<td><?php echo $user['id_win'];?></td>
			<td><?php echo $user['id_hr'];?></td>
			<td><?php echo $user['backup_id'];?></td>
			<td><?php echo $user['manager_id'];?></td>
			<td><?php echo $user['hrreferent_id'];?></td>
			<td><?php echo $user['contract_begin'];?></td>
			<td><?php echo $user['contract_end'];?></td>
			<td><?php echo $user['status_id'];?></td>
			<td><?php echo $user['jobfunction_id'];?></td>
			<td><?php echo $user['jde_user'];?></td>
			<td><?php echo $user['baali_user'];?></td>
			<td><?php echo $user['securitygroup_id'];?></td>
			<td><?php echo $user['company_id'];?></td>
			<td><?php echo $user['group_id'];?></td>
			<td><?php echo $user['mail'];?></td>
			<td><?php echo $user['username'];?></td>
			<td><?php echo $user['password'];?></td>
			<td><?php echo $user['notes'];?></td>
			<td><?php echo $user['backup_of'];?></td>
			<td><?php echo $user['replace'];?></td>
			<td><?php echo $user['created'];?></td>
			<td><?php echo $user['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $user['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $user['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $user['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $user['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody></table>
<?php endif; ?>

	<div class="showNextBtn"><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add'));?></div>
</div>
    </div>
</div>